import request from '@/utils/request'
const startUrl = '/message/activity'

/**
 * 获取消息
 * @param userStore
 * @param current
 * @param pageSize
 * @returns {Promise<axios.AxiosResponse<any>>}
 */
export const listPageActivityMessage = (userStore, current, pageSize) =>
    request.get(startUrl + '/page',{
        params: {
            'current': current,
            'size': pageSize,

        },
        headers: {
            'User-Token': userStore.$state.jwtEntity.jwt,
            'User-Secret-Key': userStore.$state.jwtEntity.signKeyStr
        }
    })